﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    /// <summary>
    /// 编码规则
    /// </summary>
    public class BarCodeRuleDto
    {
        /// <summary>
        /// 自增Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 编码规则名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 类型枚举
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 规则描述
        /// </summary>
        public string RuleDescription { get; set; }
        /// <summary>
        /// 条码规则
        /// </summary>
        public string BarCodeRules { get; set; }
        /// <summary>
        /// 最大值
        /// </summary>
        public int? MaxNumber { get; set; }
        /// <summary>
        /// 序列号样例
        /// </summary>
        public string Sample { get; set; }
        /// <summary>
        /// 流水号位数
        /// </summary>
        public int? NumberLength { get; set; }
        /// <summary>
        /// 流水号起始
        /// </summary>
        public int? StartNumber { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public int? Number { get; set; }
        /// <summary>ba
        /// 是否启用
        /// </summary>
        public bool? IsEnable { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public int? CreateUserId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }
        /// <summary>
        /// 修改人Id
        /// </summary>
        public int? ModifyUserId { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string ModifyUserName { get; set; }
        public string Code { get; set; }

        /// <summary>
        /// 当前登录人Id
        /// </summary>
        public int NowUserId { get; set; }

        /// <summary>
        /// 当前登陆人名称
        /// </summary>
        public string NowUserRealName { get; set; }
    }
}
